﻿using Project.Core.Api.Common.Base;
using Project.Core.Model.System;
using System.Collections.Generic;

namespace Project.Core.Api.Controllers.System.IPermission.Dto
{
    /// <summary>
    /// UserPermissionDto
    /// </summary>
    public class UserPermissionDto : BaseDto
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public string RoleID { get; set; }

        /// <summary>
        /// 用户设置的菜单列表
        /// </summary>
        public int MenuId { get; set; }

        /// <summary>
        /// 操作
        /// </summary>
        public List<string> Operations { get; set; }

        /// <summary>
        /// 子集
        /// </summary>
        public List<UserPermissionDto> Children { get; set; }
    }
}
